package com.daisuxia.web.service;

import java.util.Map;

import com.daisuxia.web.pojo.AppVersion;

/**
 * 客户端版本号
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-09-27 13:51:10
 */
public interface IAppVersionService {
	
	AppVersion queryObject(Integer id);
	
	int queryTotal(Map<String, Object> map);
	
	void save(AppVersion appVersion);
	
	void update(AppVersion appVersion);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
	
	/**
	 * 获取当前最新版本
	 * @param param
	 * @return
	 */
	AppVersion getCurrentVersion(Map<String,String> param);
	
	
}
